package cn.itcast.pojo;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class User implements Serializable {
	
	private String name;
	private String sex;
	private int age;
	@JSONField(format="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public User() {
		super();
		// TODO Auto-generated constructor stub
	}
	public User(String name, String sex, int age, Date createTime) {
		super();
		this.name = name;
		this.sex = sex;
		this.age = age;
		this.createTime = createTime;
	}
	 

}
